package com.atguigu.springcloud.alibaba.service.Impl;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import com.atguigu.springcloud.alibaba.service.FlowLimitService;
import org.springframework.stereotype.Service;

/**
 * @program: cloud2020
 * @description:
 * @author: 陈恩涛
 * @create: 2022-03-14 21:55
 **/

@Service
public class FlowLimitServiceImpl implements FlowLimitService {

    @Override
    @SentinelResource("goods")
    public void doSomething() {
        System.out.println("hhhhhh!");
    }
}
